#!/bin/bash
echo -e "\033[32m =====================提交暂存区====================== \033[0m"

git add .

echo -e "\033[32m =====================提交本地库====================== \033[0m"

git commit -am "update code $(date)"

echo -e "\033[32m =====================提交远程库====================== \033[0m"

git push

echo -e "\033[32m ======================提交成功======================= \033[0m"

read -p "press enter end"
